import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class MyTestDemo1 {
    @Test
    public void myTest(){
        //读取上下文配置文件
        ApplicationContext ctx =
         new ClassPathXmlApplicationContext("applicationContext-mybatis.xml");
        //提取容器bean,用对象类型提取
      /*  Ebook_entry_service book =
                (Ebook_entry_service) ctx.getBean(Ebook_entry_service.class);*/

    }

}
